GtkMenuTrackerItem: add an internal 'visible' flag
authorRyan Lortie <desrt@desrt.ca>
Sat, 4 Jan 2014 07:25:43 +0000 (02:25 -0500)
committerRyan Lortie <desrt@desrt.ca>
Wed, 8 Jan 2014 19:21:18 +0000 (14:21 -0500)
commit2b1aa12f01f382652a3b6b9c7e51959dde194143
treee876e84ade9f3c592c2d238e832b836b7c116a0d
parent8efb1404cbdeedfaf894c219fcae9dbdd1986fa2
GtkMenuTrackerItem: add an internal 'visible' flag

Add an internal API for checking if a GtkMenuTrackerItem is visible,
along with a signal for reporting changes in that flag.  The item will
become invisible in situations according to the new hidden-when=''
attribute, which can be set to 'action-disabled' or 'action-missing'.

This new flag doesn't actually do anything yet, and none of the
consumers of GtkMenuTracker do anything with it (nor should they).  A
followup patch will address the issue.

https://bugzilla.gnome.org/show_bug.cgi?id=688421
gtk/gtkmenutrackeritem.c
gtk/gtkmenutrackeritem.h